package ifswitch;

import java.util.Scanner;

public class test6 {
    public static void main(String [] args){
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入今天星期几？");
        String riqi = sc.nextLine();
        switch (riqi){
            case "星期一":
                System.out.println("跑步");
                break;
            case "星期二":
                System.out.println("游泳");
                break;
            case "星期三":
                System.out.println("慢走");
                break;
            case "星期四":
                System.out.println("动感单车");
                break;
            case "星期五":
                System.out.println("拳击");
                break;
            case "星期六":
                System.out.println("爬山");
                break;
            case "星期天":
                System.out.println("好好吃一顿");
                break;
            default:
                System.out.println("输入错误！");
        }
    }
}
